package cn.base.day07;

import java.util.Scanner;

public class MainApp {
    public static void main(String[] args) {
        System.out.println("请输入学员编号：");
        Scanner sc = new Scanner(System.in);
        String code = sc.next();
        System.out.println("请输入学员姓名：");
        String name = sc.next();
        Student s1 = new Student(code, name);
        System.out.println(s1.getStudentCode());
        System.out.println(s1.getName());

    }
}
